package sample.sub2.section12

object Section12 {
	def main(args : Array[String]) {
		var flog = new Frog3();
		
		println(flog);
		flog.philosophize;
		flog.showHas();
		
		var r1 = new Rational(1);
		var r2 = new Rational(3);
		
		println(r1 > r2);
		
		var que = new BasicIntQueue;
		
		que.put(10);
		que.put(25);
		que.put(300);
		
		que.out();
		
		que.put(250)
		var g = que.get();
		
		que.out();
		println(g)
		
		var que2 = new BasicIntQueue with Doubling
		que2.put(2)
		que2.put(3)
		que2.out()
		
		println(new Cat)
	}
}